// 自动生成模板PmsAttrAttrgroupRelation
package biz

import (
	"github.com/go-kratos/kratos/v2/log"
)

// pmsAttrAttrgroupRelation表 结构体  PmsAttrAttrgroupRelation
type PmsAttrAttrgroupRelation struct {
	Id          *int `json:"id" form:"id" gorm:"primarykey;comment:id;column:id;size:19;"`                       //id
	AttrId      *int `json:"attrId" form:"attrId" gorm:"comment:属性id;column:attr_id;size:19;"`                   //属性id
	AttrGroupId *int `json:"attrGroupId" form:"attrGroupId" gorm:"comment:属性分组id;column:attr_group_id;size:19;"` //属性分组id
	AttrSort    *int `json:"attrSort" form:"attrSort" gorm:"comment:属性组内排序;column:attr_sort;size:10;"`           //属性组内排序
}

// TableName pmsAttrAttrgroupRelation表 PmsAttrAttrgroupRelation自定义表名 pms_attr_attrgroup_relation
func (PmsAttrAttrgroupRelation) TableName() string {
	return "pms_attr_attrgroup_relation"
}

type PmsAttrAttrgroupRelationRepo interface {
}

type PmsAttrAttrgroupRelationUsecase struct {
	repo PmsAttrAttrgroupRelationRepo
	log  *log.Helper
}

func NewPmsAttrAttrgroupRelationUsecase(repo GreeterRepo, logger log.Logger) *PmsAttrAttrgroupRelationUsecase {
	return &PmsAttrAttrgroupRelationUsecase{repo: repo, log: log.NewHelper(logger)}
}
